package com.gopay.common.domain.cps.vo;

import java.math.BigDecimal;

/**
 * 账务接口BEAN
 * 
 * @AcctItem.java
 * @author MA HUAN
 * @2013-1-6 下午6:58:54 www.gopay.com.cn Inc.All rights reserved.
 */
public class AcctItem {

    private String custAcct;//用户国付宝帐号
    private String particular;//交易用途，字段名同账务流水字段名称
    private BigDecimal txnAt;//账务金额
    /**
     * 用于transfer交易 付款方 不做账户状态校验 例如 ：强制扣款交易（即使用户付款锁定 或者 收付锁定 依然可以扣款）<br/>
     * 默认做校验 ，有当该值设置为 true 时 忽略账户状态<br/>
     * lx 2017-4-1 15:50:37
     */
    private boolean notCheack;

    public AcctItem() {
        super();
    }

    public AcctItem(String custAcct, BigDecimal txnAt) {
        super();
        this.custAcct = custAcct;
        this.txnAt = txnAt;
    }
    
    public AcctItem(String custAcct, BigDecimal txnAt, String particular) {
        super();
        this.custAcct = custAcct;
        this.txnAt = txnAt;
        this.particular = particular;
    }

    public String getCustAcct() {
        return custAcct;
    }

    public void setCustAcct(String custAcct) {
        this.custAcct = custAcct;
    }

    public BigDecimal getTxnAt() {
        return txnAt;
    }

    public void setTxnAt(BigDecimal txnAt) {
        this.txnAt = txnAt;
    }
    
    public String getParticular() {
        return particular;
    }

    public void setParticular(String particular) {
        this.particular = particular;
    }

    @Override
    public String toString() {
        
        StringBuilder bud = new StringBuilder(256);
        
        bud.append("AcctItem=[");
        bud.append(",custAcct=" + custAcct);
        bud.append(",txnAt=" + txnAt);
        bud.append(",particular=" + particular);
        bud.append(",notCheack=" + notCheack);
        bud.append("]");
        
        return bud.toString();
    }

    public boolean isNotCheack() {
        return notCheack;
    }

    public void setNotCheack(boolean notCheack) {
        this.notCheack = notCheack;
    }
}
